/**
 * 2018/6/29 10:07:17 Wen Jun created.
 */

package com.diver.flinkdemo.entity.xxt;


/**

 * @author  guofy

 * @create  2020-04-13 11:22

 * 通过闸机消息

 **/
public class PassGateMessage implements java.io.Serializable {

    private static final long serialVersionUID = 6045126143879513102L;
    // 唯一标识 [主键]
    private String id;
    // 芯片号
    private String chipNumber;
    // 学生卡id
    private String studentCardId;
    // 年级id
    private String gradeId;
    // 班级id
    private String classId;
    // 学校id
    private String schoolId;
    //消息类型 in进校园，out出校园
    private String type;
    // 经过时间
    private Long passTime;
    // 设备名称
    private String deviceName;
    // 消息内容
    private String content;
    // 是否已读(0:为未读，1：已读)
    private Integer isRead;
    //消息接收用户id，关联user表id，多个以逗号分隔
    private String receiveUserId;
    // 创建时间
    private Long createTime;
    // 创建人
    private String createPersion;
    // 更新时间
    private Long updateTime;
    // 更新人
    private String updatePersion;
    // 删除标识（0：未删除，1：已删除）
    private Integer deleteFlag;
    // 删除时间
    private Long deleteTime;
    // 删除人
    private String deletePersion;

    @Override
    public String toString() {
        return "PassGateMessage{" + "id='" + id + '\'' + ", chipNumber='" + chipNumber + '\'' + ", studentCardId='" + studentCardId + '\'' + ", gradeId='" + gradeId + '\'' + ", classId='" + classId + '\'' + ", schoolId='" + schoolId + '\'' + ", type='" + type + '\'' + ", passTime=" + passTime + ", deviceName='" + deviceName + '\'' + ", content='" + content + '\'' + ", isRead=" + isRead + ", receiveUserId='" + receiveUserId + '\'' + ", createTime=" + createTime + ", createPersion='" + createPersion + '\'' + ", updateTime=" + updateTime + ", updatePersion='" + updatePersion + '\'' + ", deleteFlag=" + deleteFlag + ", deleteTime=" + deleteTime + ", deletePersion='" + deletePersion + '\'' + '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getChipNumber() {
        return chipNumber;
    }

    public void setChipNumber(String chipNumber) {
        this.chipNumber = chipNumber;
    }

    public String getStudentCardId() {
        return studentCardId;
    }

    public void setStudentCardId(String studentCardId) {
        this.studentCardId = studentCardId;
    }

    public String getGradeId() {
        return gradeId;
    }

    public void setGradeId(String gradeId) {
        this.gradeId = gradeId;
    }

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }

    public String getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(String schoolId) {
        this.schoolId = schoolId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getPassTime() {
        return passTime;
    }

    public void setPassTime(Long passTime) {
        this.passTime = passTime;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getIsRead() {
        return isRead;
    }

    public void setIsRead(Integer isRead) {
        this.isRead = isRead;
    }

    public String getReceiveUserId() {
        return receiveUserId;
    }

    public void setReceiveUserId(String receiveUserId) {
        this.receiveUserId = receiveUserId;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public String getCreatePersion() {
        return createPersion;
    }

    public void setCreatePersion(String createPersion) {
        this.createPersion = createPersion;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdatePersion() {
        return updatePersion;
    }

    public void setUpdatePersion(String updatePersion) {
        this.updatePersion = updatePersion;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public Long getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Long deleteTime) {
        this.deleteTime = deleteTime;
    }

    public String getDeletePersion() {
        return deletePersion;
    }

    public void setDeletePersion(String deletePersion) {
        this.deletePersion = deletePersion;
    }
}
